//
//  AppTools.h
//  UI16.真.豆瓣
//
//  Created by dllo on 15/10/30.
//  Copyright © 2015年 Amydom. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^AppToolsDataBlock)(id result);

typedef void(^AppToolsImageBlock) (NSData *data);


@interface AppTools : NSObject

+ (void)getDataWithURL:(NSString *)url
                 Block:(AppToolsDataBlock)block;


+ (void)getImageWithURL:(NSString *)url
                  Block:(AppToolsImageBlock)block;







@end
